@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}


            /* Button Whatsapp */
.btn-wsp {
    position: fixed;
    width: 80px;
    height: 80px;
    line-height: 80px;
    bottom: 75px;
    right: 30px;
    background: green;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 60px;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.btn-wsp:hover {
    text-decoration: none;
    color: green;
    background-color: #fff;
}


            /* Header*/


header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 5%;
    margin-top: -100px;
}

header .logo img {
    width: 100%;
}

header .menu a {
    position: relative;
    margin: 0 10px;
    text-decoration: 0;
    color:#999 ;
    transition: 0.5s;
}

header .menu a:before {
    position: absolute;
    top: -2px;
    content: "";
    width: 0;
    height: 2px;
    background-color: #93d6d0;
    transition: 0.5s;
}
 
header .menu a:hover::before {
    width: 100%;
}

header .menu a:hover {
    color: black;
}

header .menu a img {
    width: 17px;
   } 

            /* home */

.home {
    height: calc(100vh - 55px);
    background: url("../Images/Doc.jpg");
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    padding-left: 5%;
    padding-bottom: 50px;
    margin-top: -100px;
}

.home-infos {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    animation: anime 4s linear;
    margin-left: 700px;
    margin-bottom: 15px;
    margin-right: 50px;
    padding-top: 20px;
}


.home-especialidades-one {
    height: calc(100vh - 55px);
    background: url("../Images/Nariz.jpg");
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    padding-left: 5%;
    padding-bottom: 50px;
    margin-top: -100px;

}


.home-especialidades-two {
    height: calc(100vh - 55px);
    background: url("../Images/Audio.jpeg");
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    padding-left: 5%;
    padding-bottom: 50px;
    margin-top: -100px;

}

.home-especialidades-three {
    height: calc(100vh - 55px);
    background: url("../Images/faringe3.png");
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    padding-left: 5%;
    padding-bottom: 50px;
    margin-top: -100px;

}

.home-especialidades-four {
    height: calc(100vh - 55px);
    background: url("../Images/microcirugia-de-laringe.jpg");
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    padding-left: 5%;
    padding-bottom: 50px;
    margin-top: -100px;

}

.home-especialidades-five {
    height: calc(100vh - 55px);
    background: url("../Images/Senosparanasales.jpg");
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    padding-left: 5%;
    padding-bottom: 50px;
    margin-top: -100px;

}


            /* animation .home-infos */

 @keyframes anime {
    from{
        transform: translateX(2000px);
    }
 }
.home-infos h1 {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #93d6d0;
    font-size: 30px;
}
.home-infos p {
    margin-top: 2px;
}

            /* services */

.services {
    padding: 0 10%;
}

.title {
    text-align: center;
    margin-top: 50px;
    font-size: 35px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sub-title {
    text-align: center;
    color: #93d6d0;
    margin: 20px 0;
    font-size: 30px;
}

.list-services {
    display: grid;
    grid-template-columns: repeat(5, 15rem);
    justify-content:center;
    gap: 20px;
    margin-bottom: 50px;
    margin-top: 50px;
}
.list-services .box{
    padding: 15px;
    background-color: #f3fbfa;
    border-radius: 6px;
    transition: 0.5s;
}
.list-services .box h1 {
    text-transform: uppercase;
    color: #93d6d0;
    margin-bottom: 10px;
    font-size: 18px;
    letter-spacing: 1px;
}

.list-services .box p {
    font-size: 16px;
}

.list-services .box:hover {
    background-color: #93d6d0 ;
}

.list-services .box:hover h1 {
    color: white;
}
.list-services .box:hover p {
    color: #333;
}

.list-services a {
    text-decoration: none;
    color: #000;
}

            /* banner */

.banner {
    height: 60vh;
    background: url("../Images/stethoscope-g5630b8dd8_1920.jpg");
    background-position: center;
    background-size: cover;
}

            /* certifications */

.list-certifications {
display: grid;
grid-template-columns: repeat(4, 22rem);
justify-content:center;
gap: 5px;
margin-bottom: 50px;
margin-top: 50px;
}

.list-certifications .box2 {
    padding: 5px;
    border-radius: 6px;
    transition: 0.5s;
}

.list-certifications .box2 .image4 {
    margin-top: 65px;
    margin-left: 10px;
   }

.list-certifications .box2 .image1 {
    width: 250px;
    margin-top: 45px;
}

.title2 {
    text-transform: uppercase;
    color: #93d6d0;
    text-align: center;
    margin-top: 80px;
    font-size: 35px;
    letter-spacing: 1px;

}

            /* footer */

footer { padding: 0 20%;
    background-color: #f3fbfa;
    padding-bottom: 5px;
}

footer .title {
    margin-bottom: 20px;
    padding-top: 20px;
}

footer a {
    text-decoration: none;
    color: #000;
}

.contact {
    display: grid;
    grid-template-columns: repeat(3, 22rem);
    justify-content:center;
    gap: 20px;
    margin-bottom: 50px;
    margin-top: 45px;
}

.contact .class-form {
    width: 45%;
    display: flex;
    flex-direction: column;
    height: 300px;
}

.contact h2 {
    margin-bottom: 10px;
    color: #93d6d0;
}

.adress {
    width: 100%;
    height: 290px;
}

iframe {
    width: 100%;
    height: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 1);
}






            /* Responsive 1 */

@media (max-width: 800px) {
   header {
    padding: 10px 20px ;
   }

   header .menu {
    display: none;
    }

    .home {
        padding: 0 2px;
    }

    .home {
        height: calc(100vh - 55px);
        background: url("../Images/Doc.jpg");
        background-position: center;
        background-size: cover;
        display: flex;
        align-items: flex-end;
        height: 40rem;
    }
    

    .home-infos {
        flex-direction: column;
        animation: none;
        margin-left: 160px;
        display: flex;
        align-items: flex-end;
        padding: 3%;
    }

    .home-infos h1 {
        font-size: 12px;
    }

    .home-infos p {
        font-size: 11px;
    }

    .title {
        flex-direction: column;
        align-content: center;
        display: flex;
        font-size: 150%;
    }

    .sub-title {
        font-size: 130%;
    }

    .list-services {
        flex-direction: column;
        display: flex;
    }

    .banner {
    height: 14rem;
    }
  
    .list-certifications {
       justify-content: center;
        display: grid;
        grid-template-columns: repeat(1,20rem);
        margin-left: 20px;
    }

    .title2 {
        flex-direction: column;
        align-content: center;
        display: flex;
        font-size: 150%;
    }


    .contact {
        display: grid;
        justify-content: center;
        grid-template-columns: repeat(1, 20rem);
    }



         /* Button Whatapp */

    .btn-wsp {
        position: fixed;
        width: 50px;
        height: 50px;
        line-height: 50px;
        bottom: 70px;
        right: 20px;
        background: green;
        color: #fff;
        border-radius: 50px;
        text-align: center;
        font-size: 30px;
        box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
        z-index: 100;
    }


            /* Responsive menu */


.menu_toggle {
    height: 50px;
    width: 50px;
    background-color: #fff;
    position: fixed;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    border-radius: 6px;

}

.menu_toggle::before {
    position: absolute;
    content: '';
    height: 3px;
    width: 28px;
    background-color: #93d6d0;
    border-radius: 6px;
    box-shadow: 0 10px 0 #93d6d0;
    transform: translateY(-10px) ;
    transition: 0.5s;
}

.menu_toggle.active::before {

    transform: rotate(135deg);
    box-shadow: 0 0 0 #93d6d0;
}

.menu_toggle::after {
    position: absolute;
    content: '';
    height: 3px;
    width: 28px;
    background-color: #93d6d0;
    border-radius: 6px;
    transform: translateY(10px);
    transition: 0.5s;
}

.menu_toggle.active::after {

    transform: rotate(-135deg);
}

header .menu.responsive {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(147 214 208 /0.5);
    backdrop-filter: blur(5px);
    z-index: 50;
}

header .menu.responsive a {
    margin: 10px 0;
    font-size: 20px;
}

}





            /* Responsive 2 */

            @media (max-width: 900px) and (min-width: 798px) {
                header {
                 padding: 10px 20px ;
                }
             
                header .menu {
                 display: none;
                 }
             
                 .home {
                     margin: 50px 0;
                     padding: 0 2px;
                 }
             
                 .logo {
                     display: flex;
                     background-position: center;
                     background-size: cover;
                     align-items: center;
                     padding-bottom: -500px;
                 }
             
                 .home {
                     height: calc(100vh - 55px);
                     background: url("Images/Doc.jpg");
                     background-position: center;
                     background-size: cover;
                     display: flex;
                     align-items: flex-end;
                     height: 40rem;
                 }
                 
             
                 .home-infos {
                     flex-direction: column;
                     animation: none;
                     margin-left: 350px;
                     animation: 4sec linear;
                     display: flex;
                     padding: 2%;
                 }
             
                 .home-infos h1 {
                     font-size: 12px;
                 }
             
                 .home-infos p {
                     font-size: 11px;
                 }
             
                 .title {
                     flex-direction: column;
                     align-content: center;
                     display: flex;
                     font-size: 150%;
                 }
             
                 .sub-title {
                     font-size: 130%;
                 }
             
                 .list-services {
                     flex-direction: column;
                     display: flex;
                 }
             
                 .banner {
                 height: 14rem;
                 }
               
                 .list-certifications {
                    justify-content: center;
                     display: grid;
                     grid-template-columns: repeat(2,22rem);
                    
                 }
             
                 .title2 {
                     flex-direction: column;
                     align-content: center;
                     display: flex;
                     font-size: 150%;
                 }
             
             
                 .contact {
                     display: grid;
                     justify-content: center;
                     grid-template-columns: repeat(2, 20rem);
                 }
             
             
             
                      /* Button Whatapp */
             
                 .btn-wsp {
                     position: fixed;
                     width: 80px;
                     height: 80px;
                     line-height: 80px;
                     bottom: 70px;
                     right: 10px;
                     background: green;
                     color: #fff;
                     border-radius: 50px;
                     text-align: center;
                     font-size: 60px;
                     box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
                     z-index: 100;
                 }
             
             
                         /* Responsive menu */
             
             
             .menu_toggle {
                 height: 50px;
                 width: 50px;
                 background-color: #fff;
                 position: fixed;
                 right: 10px;
                 display: flex;
                 align-items: center;
                 justify-content: center;
                 cursor: pointer;
                 z-index: 1000;
                 border-radius: 6px;
             
             }
             
             .menu_toggle::before {
                 position: absolute;
                 content: '';
                 height: 3px;
                 width: 28px;
                 background-color: #93d6d0;
                 border-radius: 6px;
                 box-shadow: 0 10px 0 #93d6d0;
                 transform: translateY(-10px) ;
                 transition: 0.5s;
             }
             
             .menu_toggle.active::before {
             
                 transform: rotate(135deg);
                 box-shadow: 0 0 0 #93d6d0;
             }
             
             .menu_toggle::after {
                 position: absolute;
                 content: '';
                 height: 3px;
                 width: 28px;
                 background-color: #93d6d0;
                 border-radius: 6px;
                 transform: translateY(10px);
                 transition: 0.5s;
             }
             
             .menu_toggle.active::after {
             
                 transform: rotate(-135deg);
             }
             
             header .menu.responsive {
                 display: flex;
                 flex-direction: column;
                 position: fixed;
                 top: 0;
                 left: 0;
                 height: 100%;
                 width: 100%;
                 display: flex;
                 align-items: center;
                 justify-content: center;
                 background-color: rgba(147 214 208 /0.5);
                 backdrop-filter: blur(5px);
                 z-index: 50;
             }
             
             header .menu.responsive a {
                 margin: 10px 0;
                 font-size: 20px;
             }
             
             }